Just tried and still not working:
The mail system
<support@mydomain.com>: Command died with status 126: "/usr/bin/maildrop".
Command output: ERR: authdaemon: s_connect() failed: Permission denied sh:
/var/www/mydomain.com/web/helpdesk/api/pipe.php: Permission denied
Final-Recipient: rfc822; support@mydomain.com
Original-Recipient: rfc822;support@mydomain.com
Action: failed
Status: 5.3.0
Diagnostic-Code: x-unix; ERR: authdaemon: s_connect() failed: Permission denied
sh: /var/www/mydomain.com/web/helpdesk/api/pipe.php: Permission denied
drwxrwxrwx 10 web1 client1 4096 2010-01-26 20 helpdesk
drwxrwxrwx 2 web1 client1 4096 2010-01-26 21 api
root@pebkac:/var/www/mydomain.com/web/helpdesk/api# ls -l
total 28
-rwxrwxrwx 1 web1 client1 3023 2010-01-26 20 api.inc.php
-rwxrwxrwx 1 web1 client1 716 2010-01-26 20 cron.php
-rwxrwxrwx 1 web1 client1 34 2010-01-26 20 index.php
-rwxrwxrwx 1 web1 client1 4971 2010-01-26 21 pipe.php
: